# AXERA is pleased to support the open source community by making ax-samples available.
#
# Copyright (c) 2022, AXERA Semiconductor (Shanghai) Co., Ltd. All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.
#
# Author:
#

find_package(Threads)
find_package(OpenCV REQUIRED)

include("${CMAKE_SOURCE_DIR}/cmake/ax650.cmake")

axera_example(ax_classification ax_classification_steps.cc)

axera_example(ax_yolov5s ax_yolov5s_steps.cc)
axera_example(ax_yolov5s_dynamic_batchsize ax_yolov5s_dynamic_batchsize_steps.cc)
axera_example(ax_yolov5s_seg ax_yolov5s_seg_steps.cc)
axera_example(ax_yolov5_face ax_yolov5_face_steps.cc)
axera_example(ax_yolov6 ax_yolov6_steps.cc)
axera_example(ax_yolov7_tiny_face ax_yolov7_tiny_face_steps.cc)
axera_example(ax_yolov7 ax_yolov7_steps.cc)
axera_example(ax_yolov8 ax_yolov8_steps.cc)
axera_example(ax_yolov8_nv12 ax_yolov8_nv12_steps.cc)
axera_example(ax_yolov8_seg ax_yolov8_seg_steps.cc)
axera_example(ax_yolov8_pose ax_yolov8_pose_steps.cc)
axera_example(ax_yolov8_obb ax_yolov8_obb_steps.cc)
axera_example(ax_yolov9 ax_yolov9_steps.cc)
axera_example(ax_yolov9_u ax_yolov9_ultralytics_steps.cc)
axera_example(ax_yolox ax_yolox_steps.cc)
axera_example(ax_yolov10 ax_yolov10s_steps.cc)
axera_example(ax_yolov10_u ax_yolov10_ultralytics_steps.cc)
axera_example(ax_yolo11 ax_yolo11_steps.cc)
axera_example(ax_yolo11_seg ax_yolo11_seg_steps.cc)
axera_example(ax_yolo11_pose ax_yolo11_pose_steps.cc)
axera_example(ax_yolo_nas ax_yolo_nas_steps.cc)
axera_example(ax_yolo_world ax_yolo_world_steps.cc)
axera_example(ax_yolo_world_open_vocabulary ax_yolo_world_open_vocabulary_steps.cc)

axera_example(ax_ppyoloe ax_ppyoloe_steps.cc)
axera_example(ax_ppyoloe_obj365 ax_ppyoloe_obj365_steps.cc)
axera_example(ax_pp_person_attribute ax_pp_person_attribute_steps.cc)
axera_example(ax_pp_vehicle_attribute ax_pp_vehicle_attribute_steps.cc)
axera_example(ax_pp_humanseg ax_pp_humanseg_steps.cc)
axera_example(ax_pp_liteseg_stdc2_cityscapes ax_pp_liteseg_stdc2_cityscapes_steps.cc)
axera_example(ax_pp_ocr_rec ax_pp_ocr_rec_steps.cc)

axera_example(ax_realesrgan ax_realesrgan_steps.cc)
axera_example(ax_detr ax_detr_steps.cc)
axera_example(ax_hrnet ax_hrnet_steps.cc)
axera_example(ax_scrfd ax_scrfd_steps.cc)
axera_example(ax_segformer ax_segformer_steps.cc)
axera_example(ax_rtmdet ax_rtmdet_steps.cc)
axera_example(ax_pfld ax_pfld_steps.cc)
axera_example(ax_dinov2 ax_dinov2_steps.cc)
axera_example(ax_simcc_pose ax_simcc_pose_steps.cc)
axera_example(ax_glpdepth ax_glpdepth_steps.cc)
axera_example(ax_depth_anything ax_depth_anything_steps.cc)
axera_example(ax_rtdetr ax_rtdetr_steps.cc)
axera_example(ax_crowdcount ax_crowdcount_steps.cc)

axera_example(ax_imgproc ax_imgproc_steps.cc)
axera_example(ax_model_info ax_model_info.cc)

